package com.gopay.common.domain.cust;

import java.io.Serializable;
import javax.persistence.*;
import java.sql.Timestamp;
import java.util.Date;
import java.math.BigDecimal;


/**
 * 
 * @CustCaCertLog.java
 * @author dongdh
 * @2016年2月22日 下午2:14:23  www.gopay.com.cn Inc.All rights reserved.
 */
@Entity
@Table(name="CUST_CA_CERT_LOG")
public class CustCaCertLog implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="CUST_CA_CERT_LOG_ID_GENERATOR", sequenceName="CUST_CA_CERT_LOG_SEQ", allocationSize = 1)
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="CUST_CA_CERT_LOG_ID_GENERATOR")
	private long id;

	@Column(name="ACCT_ID")
	private String acctId;

	@Column(name="CREATED_TS")
	private Date createdTs;

	@Column(name="CUST_ID")
	private String custId;

	private BigDecimal fee;

	@Column(name="OPER_ID")
	private String operId;

	private String remark;

	private String sn;

	private String stat;

	@Column(name="\"TYPE\"")
	private String type;

	@Column(name="UPDATED_TS")
	private Date updatedTs;

	public CustCaCertLog() {
	}

	public long getId() {
		return this.id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getAcctId() {
		return this.acctId;
	}

	public void setAcctId(String acctId) {
		this.acctId = acctId;
	}

	public String getCustId() {
		return this.custId;
	}

	public void setCustId(String custId) {
		this.custId = custId;
	}

	public BigDecimal getFee() {
		return this.fee;
	}

	public void setFee(BigDecimal fee) {
		this.fee = fee;
	}

	public String getOperId() {
		return this.operId;
	}

	public void setOperId(String operId) {
		this.operId = operId;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getSn() {
		return this.sn;
	}

	public void setSn(String sn) {
		this.sn = sn;
	}

	public String getStat() {
		return this.stat;
	}

	public void setStat(String stat) {
		this.stat = stat;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

    public Date getCreatedTs() {
        return createdTs;
    }

    public void setCreatedTs(Date createdTs) {
        this.createdTs = createdTs;
    }

    public Date getUpdatedTs() {
        return updatedTs;
    }

    public void setUpdatedTs(Date updatedTs) {
        this.updatedTs = updatedTs;
    }

}